package com.hunt.web.controller.system;

import com.hunt.framework.web.base.BaseController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @program: hunt-lx
 * @description: 登录验证
 * @author: Lx
 * @create: 2019-01-31 20:33
 **/
@Controller
public class SysLoginController extends BaseController
{
    public static final Logger log= LoggerFactory.getLogger(SysLoginController.class);
    @GetMapping("/login")
    public String login(HttpServletRequest request, HttpServletResponse response)
    {

        log.info("【你的日志】:{}","ok");
        return "login";
    }
}
